#!/bin/bash

HADOOP_HOME=/home/tulinski/hadoop/hadoop-0.20.2

# Unix paths have to be convert to Windows style
CORE=`cygpath -wp ${HADOOP_HOME}/hadoop-0.20.2-core.jar`
ALL_LIB=`cygpath -wp "${HADOOP_HOME}/lib/*"`

# windows format (;)
CLASSPATH="${CORE};${ALL_LIB}"

echo "CLASSPATH=${CLASSPATH}"

# It is a windows java so the classpath must have windows format (;)
java -cp ${CLASSPATH} org.apache.hadoop.conf.Configuration

